home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / modem / tspfon30.zip / ZMODEM-U.BAT < prev   
DOS Batch File  |  1996-04-21  |  2KB  |  75 lines

  1. echo off
  2. rem ZMODEM-U.BAT
  3. rem
  4. rem              Zenith Z-181 laptop 2x3.5" drive version
  5. rem                       by Prof. Timo Salmi
  6. rem                          26-Nov-1988
  7. rem
  8. rem      P.O. BOX 700, University of Vaasa, FIN-65101 Vaasa, Finland
  9. rem                 ts@uwasa.fi   http://www.uwasa.fi/~ts/
  10. rem
  11. rem  The purpose of this batch is to upload a file with Procomm Plus using
  12. rem  the ZMODEM protocol with no harddisk available.
  13. rem
  14. rem  1) Put this batch file in your Procomm Plus directory (here A:\).
  15. rem
  16. rem  2) Set an External Protocol Upload Filename as ZMODEM-U in
  17. rem     Procomm Plus Protocol Options in the Setup Facility.
  18. rem     Procomm Plus setup facility is invoked by Alt-S.
  19. rem
  20. rem  3) Put the disk containing the file you are going to upload
  21. rem     in drive B:  The file must be in B:\ (i.e. the root).
  22. rem
  23. rem  4) At the remote end tell the system that you are going to upload.
  24. rem     In an Opus bulletin board simply write uz
  25. rem
  26. rem  5) In Procomm Plus by press the PageUp key and select the
  27. rem     relevant external upload protocol.
  28. rem     A ZMODEM-U parameters prompt appears. Give the name of
  29. rem     your file. NO PATHNAMES when using this batch !
  30. rem     The batch will copy your file to D:\ (I have a ramdisk in D)
  31. rem
  32. rem  6) Put the disk (here BUTILS) with DSZ.COM in directory B:\ in
  33. rem     the drive B: and press any key as instructed by the batch.
  34. rem     DSZ.COM is a marketed by Omen Technology Inc.
  35. rem
  36. rem  7) The file will be uploaded and then deleted from D:
  37. rem
  38. rem  See ZMOD-U.BAT for uploading more than one file at a go.
  39. rem
  40. rem  For more information see DSZ.DOC e.g. in DSZ1019.ARC, or later.
  41. rem  Also many public domain files contain useful advice. See e.g.
  42. rem  PRCM-DSZ.ARC, DSZOP3.ARC, Z4PCPL.ARC, DSZHOWTO.ARC, PCPZMOD.ARC, etc.
  43. rem
  44. rem  Below, change the modem port number (1) if necessary.
  45.  
  46. if not exist b:\%1 goto err_1
  47. echo on
  48. copy b:\%1 d:\
  49. echo off
  50. echo Put the disk BUTILS in drive B:
  51. pause
  52. b:\dsz CON port 1 sz d:\%1
  53. del d:\%1
  54. goto out_1
  55.  
  56. :err_1
  57. echo File b:\%1 was not found
  58. echo To proceed and view the directory: press any key
  59. pause
  60. dir/w/p b:\
  61. echo To try again
  62. echo  1) First exit by pressing any key
  63. echo  2) If the host still is receptive, invoke the upload anew by pressing
  64. echo     PgUp in Procomm, else start the whole upload process from beginning
  65. pause
  66. goto out_2
  67.  
  68. :out_1
  69. echo 
  70. echo 
  71. echo 
  72. if errorlevel 1 pause
  73. :out_2
  74. echo on
  75.